<%@ Page Language="C#" AutoEventWireup="true" CodeFile="EditGuestBook1.aspx.cs" Inherits="Manage_Modle_GuestBook_EditGuestBook1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>无标题页</title>
    <link href="../../css/mainFrom.css" rel="stylesheet" type="text/css"/>
    <script language="javascript" src="../../js/common.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript" src="../../js/calendar.js"></script>
    <script language="javascript" type="text/javascript" src="../../js/ajaxCate.js"></script>
    <script language="javascript" type="text/javascript" src="../../js/HelpInfo.js"></script>
     <script type="text/javascript" src="../../ckeditor/ckeditor.js" ></script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="incontent">
      <div class="clear"></div>
      <div class="contable">
        <div class="con-ico">
          <div class="con-fl">当前位置：<asp:Literal ID="litTitle" runat="server" Text="留言管理"/><asp:Label ID="labNowJour" runat="server" ForeColor="red" />  &gt; 编辑信息</div>
          <div class="con-fr">
            <img src="../../images/img-fontid.gif" title="本页技术支持编号" alt="" />010500
          </div>
        </div>
        <div class="clear"></div>
        <div class="hr"></div>
        <div class="imgadnfont">
          <div class="float">
            <img src="../../images/fileprotect.gif" alt="" />
          </div>
          <div style="line-height: 20px;">
            在这里主要是管理网站上用户通过留言系统反馈的信息，可以进行修改，回复，审核，删除等操作。        
          </div>
        </div>
        <div class="clear"></div>
          <div>
               <table width="100%" border="0" cellspacing="0" cellpadding="0" class="content-table">
                    <tr onmouseover="setbg2(this)" onmouseout="setbg1(this)">
                        <th class="thright">
                            属性项
                        </th>
                        <th class="thleft none">
                            属性值
                            <asp:Label ID="lab_Title" runat="server" ForeColor="Red"></asp:Label></th>
                    </tr>
                    <tr style="background: #F2F2F2;" onmouseover="setbg2(this)" onmouseout="setbg1(this)">
                        <td width="120" class="tdrightpad0" style="height: 24px">
                            所属栏目：
                        </td>
                        <td style="height: 24px"><asp:TextBox ID="txb_CateName" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr style="background: #FAFAFA;" onmouseover="setbg2(this)" onmouseout="setbg1(this)"><td class="tdrightpad0">公司名称：</td><td><asp:TextBox ID="txtGuestBook_Title" runat="server" Width="250px"></asp:TextBox><asp:RequiredFieldValidator ID="rfv_GuestBook_Title"  runat="server"  ControlToValidate="txtGuestBook_Title" ErrorMessage="必填项"> </asp:RequiredFieldValidator>  </td></tr><tr style="background: #F2F2F2;" onmouseover="setbg2(this)" onmouseout="setbg1(this)"><td class="tdrightpad0">联系人：</td><td><asp:TextBox ID="txtGuestBook_Content" runat="server" Width="250px"></asp:TextBox>  </td></tr><tr style="background: #FAFAFA;" onmouseover="setbg2(this)" onmouseout="setbg1(this)"><td class="tdrightpad0">留言时间：</td><td><asp:TextBox ID="txtGuestBook_AddTime" runat="server"></asp:TextBox>&nbsp;
                        <img style="CURSOR: hand" onclick="setday(document.getElementById('txtGuestBook_AddTime'))" 

src="../../images/calendar.gif" align="absMiddle"/><asp:RequiredFieldValidator ID="rfv_GuestBook_AddTime"  runat="server"  ControlToValidate="txtGuestBook_AddTime" ErrorMessage="必填项"> </asp:RequiredFieldValidator>  </td></tr><tr style="background: #F2F2F2;" onmouseover="setbg2(this)" onmouseout="setbg1(this)"><td class="tdrightpad0">联系电话：</td><td><asp:TextBox ID="txtGuestBook_UserName" runat="server" Width="250px"></asp:TextBox>  </td></tr><tr style="background: #FAFAFA;" onmouseover="setbg2(this)" onmouseout="setbg1(this)"><td class="tdrightpad0">记录Ip：</td><td><asp:TextBox ID="txtGuestBook_UserIp" runat="server" Width="250px"></asp:TextBox>  </td></tr><tr style="background: #F2F2F2;" onmouseover="setbg2(this)" onmouseout="setbg1(this)"><td class="tdrightpad0">手机：</td><td><asp:TextBox ID="txtGuestBook_UserEmail" runat="server" Width="250px"></asp:TextBox> <asp:RegularExpressionValidator ID="rev_GuestBook_UserEmail"  ControlToValidate="txtGuestBook_UserEmail" ValidationExpression="^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$" runat="server"  ErrorMessage="请输入正确邮箱"> </asp:RegularExpressionValidator> </td></tr><tr style="background: #FAFAFA;" onmouseover="setbg2(this)" onmouseout="setbg1(this)"><td class="tdrightpad0">电子邮箱：</td><td><asp:TextBox ID="txtGuestBook_UserTel" runat="server" Width="250px"></asp:TextBox>  </td></tr><tr style="background: #F2F2F2;" onmouseover="setbg2(this)" onmouseout="setbg1(this)"><td class="tdrightpad0">加盟区域：</td><td><asp:TextBox ID="txtGuestBook_UserIM" runat="server" Width="250px"></asp:TextBox>  </td></tr><tr style="background: #FAFAFA;" onmouseover="setbg2(this)" onmouseout="setbg1(this)"><td class="tdrightpad0">管理回复：</td><td>
	       <div>
        <asp:TextBox ID="fckGuestBook_ReplyContent" runat="server" TextMode="MultiLine"  style="height:380px;"></asp:TextBox>
	<script type="text/javascript"> CKEDITOR.replace( '<%= fckGuestBook_ReplyContent.ClientID %>',
                 {
                     filebrowserBrowseUrl: '../../ckfinder/ckfinder.html',
                     filebrowserImageBrowseUrl: '../../ckfinder/ckfinder.html?Type=Images',
                     filebrowserFlashBrowseUrl: '../../ckfinder/ckfinder.html?Type=Flash',
                     filebrowserUploadUrl: '../../ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Files',
                     filebrowserImageUploadUrl: '../../ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Images',
                     filebrowserFlashUploadUrl: '../../ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Flash',
		     toolbar : 'Basic'
		  
                 }
);</script>
      </div>  </td></tr><tr style="background: #F2F2F2;" onmouseover="setbg2(this)" onmouseout="setbg1(this)">
    <td class="tdrightpad0">
        回复时间：
    </td>
    <td>
        <asp:TextBox ID="txtGuestBook_ReplyTime" runat="server" ></asp:TextBox>&nbsp;
        <img style="CURSOR: hand" onclick="setday(document.getElementById('txtGuestBook_ReplyTime'))" src="../../images/calendar.gif" align="absMiddle"/>

        <asp:RequiredFieldValidator ID="rfv_GuestBook_ReplyTime"  runat="server"  
            ControlToValidate="txtGuestBook_ReplyTime" 
            ErrorMessage="必填项">
        </asp:RequiredFieldValidator>
        
    </td>
</tr><tr style="background: #FAFAFA;" onmouseover="setbg2(this)" onmouseout="setbg1(this)">
    <td class="tdrightpad0">
        是否通过审核：
    </td>
    <td>
        <asp:RadioButtonList ID="rblGuestBook_State" runat="server" RepeatDirection="Horizontal"
            RepeatLayout="Flow">
            <asp:ListItem Value="0">&nbsp;&nbsp;否&nbsp;&nbsp;&nbsp;&nbsp;</asp:ListItem>
            <asp:ListItem Selected="True" Value="1">&nbsp;&nbsp;是</asp:ListItem>
        </asp:RadioButtonList>
        
        
    </td>
</tr>
<tr style="background: #F2F2F2;" onmouseover="setbg2(this)" onmouseout="setbg1(this)"><td class="tdrightpad0">联系地址：</td><td><asp:TextBox ID="txtGuestBook_ExFlag1" runat="server" Width="250px"></asp:TextBox>  </td></tr><tr style="background: #FAFAFA;" onmouseover="setbg2(this)" onmouseout="setbg1(this)"><td class="tdrightpad0">传真：</td><td><asp:TextBox ID="txtGuestBook_ExFlag2" runat="server" Width="250px"></asp:TextBox>  </td></tr><tr style="background: #F2F2F2;" onmouseover="setbg2(this)" onmouseout="setbg1(this)"><td class="tdrightpad0">内容：</td><td>
	       <div>
        <asp:TextBox ID="fckGuestBook_ExFlag3" runat="server" TextMode="MultiLine"  style="height:380px;"></asp:TextBox>
	<script type="text/javascript"> CKEDITOR.replace( '<%= fckGuestBook_ExFlag3.ClientID %>',
                 {
                     filebrowserBrowseUrl: '../../ckfinder/ckfinder.html',
                     filebrowserImageBrowseUrl: '../../ckfinder/ckfinder.html?Type=Images',
                     filebrowserFlashBrowseUrl: '../../ckfinder/ckfinder.html?Type=Flash',
                     filebrowserUploadUrl: '../../ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Files',
                     filebrowserImageUploadUrl: '../../ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Images',
                     filebrowserFlashUploadUrl: '../../ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Flash',
		     toolbar : 'Basic'
		  
                 }
);</script>
      </div>  </td></tr>
                    <tr>
                        <td class="tdrightpad0" id="href-blue">&nbsp;
                            </td>
                        <td class="food">
                            <asp:Button ID="btnSave" runat="server" Text="保  存" CssClass="button" OnClick="btnSave_Click"/>
                            &nbsp;<input type="reset" name="btnCancel" value="取  消" id="btnCancel" class="button" />
                            &nbsp;<asp:Button ID="btnDel" runat="server" Text="删  除" CssClass="button" OnClick="btnDel_Click"/>
                            &nbsp;<asp:Button ID="btnCopy" runat="server" Text="复 制" CssClass="button" OnClick="btnCopy_Click"/>
                         </td>
                    </tr>
                </table>  
          </div>
        </div>

    </div>

    <div id="divMsg" style="display:none; z-index:100; position:absolute; width:200px;">
        <table border="0" cellpadding="0" cellspacing="0">
            <tr style="background-image:url(../../images/msg_top_1.gif);">
                <td><img src="../../images/msg_left_1.gif" alt="" /></td>
                <td><img src="../../images/msg_center_1.gif" alt="" /></td>
                <td></td>
                <td><img src="../../images/msg_right_1.gif" alt="" /></td>
            </tr>
            <tr>
                <td style="background-image:url(../../images/msg_left_3.gif)"></td>
                <td colspan="2" style="background-image:url(../../images/msg_bg.gif);">
                    <div id="divMessage">提示信息!</div>
                </td>
                <td style="background-image:url(../../images/msg_right_3.gif)"></td>
            </tr>
            <tr style="background-image:url(../../images/msg_right_4.gif)">
                <td><img src="../../images/msg_left_2.gif" alt="" /></td>
                <td style="width:51px;"><img src="../../images/msg_center_2.gif" alt="" /></td>
                <td></td>
                <td><img src="../../images/msg_right_2.gif" alt="" /></td>
            </tr>
        </table>
    </div>
    </form>
</body>
    <script language="javascript" type="text/javascript">
        parent.$('IFRAME_windowTab_<%=Request.QueryString["CatID"]%>').style.height = (document.body.scrollHeight > 560 ? document.body.scrollHeight : 560);
    </script>
</html>
